<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class crud extends CI_Controller {

	var $theme_data = array();
	public $primaryKey;
	function __construct() {
		parent::__construct();
		$this->load->model("muser");
		$this->load->model("atheme");

		$this->theme_data = $this->mtodo->theme_data;
		$this->primaryKey = $this->mtodo->primaryKey;
		
		$this->heading = 'Quản lý công việc';
		$this->url_index = base_url() . "crud";
		$this->url_edit = $this->url_index . "/edit/";
		$this->url_delete = $this->url_index . "/delete/";
		$this->url_add = $this->url_edit . "0";
    }
	
	public function index()
	{
		$data = array();
		
		$this->theme_data["main"] = "crud/index";
		$this->template->view($this->theme_data, $data);
	}
	
	function createController($controllerName){
	
	
	}
	
	function createModel($modelName){
	
	
	}
	
	function createView($viewName){
	
	
	}
	
	
}
